<template>
    <ul>
        <li v-for="item in contentlist" :key="item.id">
            <h3>评论人:{{ item.name }}</h3>
            <p>评论内容:{{ item.content }}</p>
        </li>
    </ul>
</template>

<script>
export default {
    data() {
        return {
        }
    },
    props: ['contentlist'],
    mounted() {
        //  console.log('this-son2', this);
    }
}
</script>
<style scoped></style>